package com.hyl.arrowSummary;

import com.hyl.utils.Point;

/**
 * @description:
 * @author: molar
 * @date: Created in 2020/6/7 15:47
 * @version:
 * @modified By:
 */
public class TShapedArrow extends ArrowSummary{
    public TShapedArrow(Point firstPoint, Point secondPoint) {
        super(firstPoint, secondPoint);
    }

    @Override
    public void drawElement() {
        System.out.println("绘制了一条从（"+getFirstPoint().getX()+","+getFirstPoint().getY()+")到（"+getSecondPoint().getX()+","+getSecondPoint().getY()+")的丁字箭头");
    }
}
